import { DailyInfo } from "../../model/DailyInfo";
import { DailyItemConfig } from "../DailyItemConfig";
type int = number;
//class TaskActInfo
    
    export  class TaskActInfo
    {
       

        public updateCount(): void
        {
            this.dailyInfo.updateCount();
            return;
        }

        public get dailyInfo(): DailyInfo
        {
            if (this._dailyInfo == null) 
            {
                this._dailyInfo = DailyItemConfig.instance.getInfoByType(this.actCode);
            }
            return this._dailyInfo;
        }

        public /* var */actCode: int;

        public /* var */priority: int;

        public /* var */color: int;

        public /* var */levelEnd: int;

        /* internal */ /* var */_dailyInfo: DailyInfo;
    }
